import axios from 'axios';

const serverApi = 'http://192.168.100.19:8000/api';

export const getRoomExists = async(roomId) => {
    // alert(roomId)
    const response = await axios.get(`${serverApi}/room-exists/${roomId}`);
    return response.data;
}